﻿using Draco.OWF.RT.Engine;

namespace Draco.OWF.RT.Impl
{
    public class TaskContext: ITaskContext
    {
        protected IJobContext jobContext = null;
        protected IEngineContext engineContext = null;
        public TaskContext(IJobContext jobContext)
        {
            this.jobContext = jobContext;
            this.engineContext = jobContext.EngineContext;
        }

        public IEngineContext EngineContext
        {
            get{ return engineContext;}
        }

        public IJobContext JobContext
        {
            get{return jobContext;}
        }
    }
}
